package com.hn.kiss.modules.sys.service;

import com.hn.kiss.modules.sys.entity.DictDetail;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 字典明细表 服务类
 * </p>
 *
 * @author zxy
 * @since 2020-08-06
 */
public interface IDictDetailService extends IService<DictDetail> {

    DictDetail getByPk(String dictType, String dictCode);

    boolean updateByPk(DictDetail dictDetail);

    boolean removeByPk(String dictType, String dictCode);

    /**
     * 修改字典状态
     * @param dictType
     * @param dictCode
     * @param state
     * @return
     */
    boolean updateState(String dictType, String dictCode, String state);


}
